<%
    /**
     * 测试远程访问
     *
     */
%>
<%@ include file = "/common/ini.jsp"%> 
<%@ page language="java" import="com.companyname.common.mq.*"%>
<%@ page language="java" import="javax.jms.*"%>
<%@ page language="java" import="java.util.*"%>
<%@ include file = "/common/_log4j.jsp"%> 
<%@ include file = "/common/_ApplicationContext_init.jsp"%> 
<%
    // 放消息
    logger.info("1. 远程调用");
    HelloWorld helloWorld = (HelloWorld)applicationContext.getBean("helloWorldClient");
    out.print(helloWorld.hello("amon says: "));
%>
